package com.pz.cloud.framework.business.config.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("biz_config")
public class BizConfig {

    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    private String module;

    private String code;

    private String name;

    private Type type;

    private String value;

    private Integer sort;

    public enum Type {
        CATEGORY,DICT,TIME_RANGE
    }
}
